package com.tao.power.Dao;


import com.tao.power.Dto.RolerPowerDto;
import com.tao.power.Pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LoginMapper {
    User Login (@Param("username") String username, @Param("password") String password);

    List<String> queryRolesByUser(List<Integer> list);

    List<Integer> queryUserRoleId(Integer id);

    List<String> queryMenuAddstress(List<Integer> list);


}
